package com.yili.oa.service;

import com.yili.oa.entity.SearchBase;
import com.yili.oa.models.Admin;
import com.yili.oa.models.ExtractsRecord;

import java.util.List;

/**
 * @author lxr
 * @version v0.01
 * @date 2019/7/15 0015
 * @email 200890949@qq.com
 */
public interface AdminService {

    Admin getByAccount(String account);

    List<Admin> getList(SearchBase searchBase,String username);

    void update(Integer id,Integer status);

    void delSignIn(List<String> list);

    List<Admin> getUnderChildren(String username);

    void reset(Integer dealerId);

    void update(Admin admin);

    int refund(ExtractsRecord extractsRecord);

    void add(Admin admin);

    void addExperience(String userId);


}
